<template>
	<view class="ct" @click="onGo(infopush.class)">
	
		<img class="pice" :src="infopush.image"/>
		
		<view class="text">{{infopush.name}}</view>
	</view>
</template>

<script>
	export default {
		props:["infopush"],
		data() {
			return {
				
			}
		},
		onLoad(){
			
		},
		onShow(){
		
		},
		methods: {
			onGo(item){
				uni.navigateTo({
					url:`../flpage/flpage?id=`+item
				})
			}
			
		}
	}
</script>

<style>
	.ct{
		/* display: flex;
		  flex-wrap: wrap; */
		/* margin-left: 1.5vw; */
		
	}
.pice{
	width: 46vw;
	height: 25vw;
	position: absolute;
	border-radius: 5%;
}
.text{
	width: 46vw;
	height: 25vw;
	position: relative;
	top: 9vw;
	
	font-size: 4vw;
	color: white;
	left: 3vw;
}
</style>
